Use the Logging view
What is it?
#The logging view displays events from the Dart runtime, application frameworks (like Flutter), and application-level logging events.
Standard logging events
#By default, the logging view shows:
- Garbage collection events from the Dart runtime
- Flutter framework events, like frame creation events
stdout
andstderr
from applications- Custom logging events from applications
Logging from your application
#To implement logging in your code, see the Logging section in the Debugging Flutter apps programmatically page.
Clearing logs
#To clear the log entries in the logging view, click the Clear logs button.
Other resources
#To learn about different methods of logging and how to effectively use DevTools to analyze and debug Flutter apps faster, check out a guided Logging View tutorial.
Unless stated otherwise, the documentation on this site reflects the latest stable version of Flutter. Page last updated on 2024-04-09. View source or report an issue.